{extend name="top/index" /}
{block name="main"}
	<!-- END SIDEBAR -->
	<!-- BEGIN CONTENT -->

	<div class="page-content-wrapper">
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div class="modal fade" id="portlet-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
							<h4 class="modal-title">Modal title</h4>
						</div>
						<div class="modal-body">
							 Widget settings form goes here
						</div>
						<div class="modal-footer">
							<button type="button" class="btn blue">Save changes</button>
							<button type="button" class="btn default" data-dismiss="modal">Close</button>
						</div>
					</div>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal-dialog -->
			</div>
			<!-- /.modal -->
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN STYLE CUSTOMIZER -->
			<div class="theme-panel hidden-xs hidden-sm">
				<!-- <div class="toggler">
				</div> -->
				<div class="toggler-close">
				</div>
				<div class="theme-options">
					<div class="theme-option theme-colors clearfix">
						<span>
							 THEME COLOR
						</span>
						<ul>
							<li class="color-black current color-default" data-style="default">
							</li>
							<li class="color-blue" data-style="blue">
							</li>
							<li class="color-brown" data-style="brown">
							</li>
							<li class="color-purple" data-style="purple">
							</li>
							<li class="color-grey" data-style="grey">
							</li>
							<li class="color-white color-light" data-style="light">
							</li>
						</ul>
					</div>
					<div class="theme-option">
						<span>
							 Layout
						</span>
						<select class="layout-option form-control input-small">
							<option value="fluid" selected="selected">Fluid</option>
							<option value="boxed">Boxed</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
							 Header
						</span>
						<select class="header-option form-control input-small">
							<option value="fixed" selected="selected">Fixed</option>
							<option value="default">Default</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
							 Sidebar
						</span>
						<select class="sidebar-option form-control input-small">
							<option value="fixed">Fixed</option>
							<option value="default" selected="selected">Default</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
							 Sidebar Position
						</span>
						<select class="sidebar-pos-option form-control input-small">
							<option value="left" selected="selected">Left</option>
							<option value="right">Right</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
							 Footer
						</span>
						<select class="footer-option form-control input-small">
							<option value="fixed">Fixed</option>
							<option value="default" selected="selected">Default</option>
						</select>
					</div>
				</div>
			</div>
			<!-- END STYLE CUSTOMIZER -->
			<!-- BEGIN PAGE HEADER-->
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->
					<h3 class="page-title">
					账户管理
					</h3>
					<ul class="page-breadcrumb breadcrumb">
						<li class="btn-group">
							<button type="button" class="btn blue dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true">
							<span>
								新建
							</span>
							<i class="fa fa-angle-down"></i>
							</button>
							<ul class="dropdown-menu pull-right" role="menu">
								<li>
									<a href="#">
										文件夹
									</a>
								</li>
								<li>
									<a href="#">
										Word 文档
									</a>
								</li>
								<li>
									<a href="#">
										PowerPoint 文档
									</a>
								</li>
								</li>
								<li>
									<a href="#">
										Excel 文档
									</a>
								</li>
								<li>
									<a href="#">
										页面
									</a>
								</li>
								<li>
									<a href="#">
										标记文本
									</a>
								</li>
								<li>
									<a href="#">
										根据模板创建
									</a>
								</li>
								<li>
									<a href="#">
										快捷方式
									</a>
								</li>
							</ul>
						</li>
						<li>
							<i class="fa fa-home"></i>
							<a href="{:url('index/index/index')}">
								Home
							</a>
							<i class="fa fa-angle-right"></i>
						</li>
						<li>
							<a href="{:url('index/Manage/index')}">
								账户管理
							</a>
							<i class="fa fa-angle-right"></i>
						</li>
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
			</div>
			
			<!-- END PAGE HEADER-->
			<!-- BEGIN PAGE CONTENT-->
			<div class="row">
				<div class="col-md-12">
					<!-- Begin: life time stats -->
					<div class="portlet">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i>编辑部门信息
							</div>
							
						</div>
						<div>
							<form class="bmEdit-form" action="{:url('BmdoEdit',['id'=>$id])}" method="post">
							  <div class="form-group">
							    <label for="exampleInputEmail1">部门</label>
							    <input type="text" class="form-control" name="org_name" value="<?php echo $choosebm['org_name']?>">
							  </div>
							  <div class="form-group">
							    <label for="exampleInputPassword1">说明</label>
							    <input type="text" class="form-control" name="org_desc" value="<?php echo $choosebm['org_desc']?>">
							  </div>
							  <div class="form-group">
							    <label for="exampleInputFile">地址</label>
							    <input type="text" class="form-control" name="org_address" value="<?php echo $choosebm['org_address']?>">
							  </div>
							  <div>
							 	<label for="exampleInputFile">类型</label>
								 <select class="form-control" style="width: 500px;" name="org_type">
								 	{if condition="($choosebm['org_type'] == 0)"}
								 	<option value="0" selected="selected">中心机关</option>
								 	<option value="1">基层单位</option>
									{elseif condition="$choosebm['org_type'] eq 1"/}
									<option value="0">中心机关</option>
								 	<option value="1"  selected="selected">基层单位</option>
									{/if}
								 	
								  
								</select>
							   </div>
							   <div style="margin-top: 20px;">
							 	<label for="exampleInputFile">上级组织结构 </label>
								 <select class="form-control" style="width: 500px;" name="org_parent_id" disabled="disabled">
								 	<option selected="selected" >总分支</option>
								 	{volist name="bmparent" id="a"}
									<option value="{$a.org_id}" {$choosebm['org_id'] == $a.org_id?'selected': ''}>{$a.html}{$a.org_name}{$a.html}</option>
									{/volist}
									
								</select>
							   </div>
							   <div style="margin-top: 20px;"></div>
							  <button type="submit" class="btn btn-success">保存</button>
							  <button type="submit" class="btn btn-primary">取消</button>

							</form>
						</div>
					</div>
					<!-- End: life time stats -->
				</div>
			</div>

			<!-- END PAGE CONTENT-->
		</div>
	</div>
	<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="footer">
	<div class="footer-inner">
		 2018 &copy; 仁聚科技
	</div>
	<div class="footer-tools">
		<span class="go-top">
			<i class="fa fa-angle-up"></i>
		</span>
	</div>
</div>
<script>
		$(function(){
			$('.manage').addClass("active");
		});
</script>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
    <script src="assets/plugins/respond.min.js"></script>
    <script src="assets/plugins/excanvas.min.js"></script> 
    <![endif]-->
<!-- <script src="assets/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script> -->
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<!-- <script src="assets/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script> -->
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<!-- <script type="text/javascript" src="assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="assets/plugins/data-tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="assets/plugins/data-tables/DT_bootstrap.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script> -->
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<!-- <script src="assets/scripts/core/app.js"></script> -->
<!-- <script src="assets/scripts/core/datatable.js"></script>
<script src="assets/scripts/custom/ecommerce-products.js"></script> -->
<!-- END PAGE LEVEL SCRIPTS -->
<!-- <script>
        jQuery(document).ready(function() {    
           App.init();
           UITree.init();
        });
    </script> -->
<!-- END JAVASCRIPTS -->

</body>
<!-- END BODY -->
</html>
{/block}
